package com.example.hongyu.avtt.model;



import java.util.List;

public class User {

    /**
     * 平台总管理员
     */
    public static final int USER_TYPE_ADMIN = 1;


    public static final int USER_TYPE_APP = 2;


    public static final int USER_TYPE_NORMAL = 3;


    /**
     * 司机
     */
    public static final int USER_TYPE_DRIVER = 2;

    /**
     * 客户（可登录后端）
     */
    public static final int USER_TYPE_CUSTOMER = 3;

    /**
     * 装箱组别（可登录后端）
     */
    public static final int USER_TYPE_GROUP = 4;

    /**
     * 移动仓管理员（可登录后端）
     */
    public static final int USER_TYPE_WAREHOUSE = 5;

    /**
     * 销售人员（无法删除）（可登录后端）
     */
    public static final int USER_TYPE_SALE = 6;

    /**
     * 装车管理员（可登录后端）
     */
    public static final int USER_TYPE_ENTRUCKING = 7;

    /**
     * 装箱人员（不用）
     */
    public static final int USER_TYPE_WORKER = 8;

    public static final String[] STATES = {"正常", "已删除"};

    /**
     * 状态正常
     */
    public static final int STATE_NORMAL = 1;

    /**
     * 被禁封
     */
    public static final int STATE_FORBIDDEN = 2;
    private static final long serialVersionUID = 5276376515200442091L;
    private int id;
    private  int uid;

    private String photo;



    private String userName;
    private String account;
    private String password;
    private String userPhone;
    private String userPass;
    private String unionId;
    private String openId;
    private int userType;
    private int age;
    private int sex;
    private String email;


    private String sexStr;
    private boolean userState;
    private String userIds;
    private String realName;

    private String nickName;
    private String  houseNumber;
    private String questiona;
    private String answera;
    private String questionb;
    private String answerb;
    private String questionc;
    private String answerc;
    private String query;
    private List<Role> roles;
    private long activateTime;
    private boolean isDelete;
    private int state;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }
    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }


    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds;
    }

    public String getQuestiona() {
        return questiona;
    }

    public void setQuestiona(String questiona) {
        this.questiona = questiona;
    }

    public String getAnswera() {
        return answera;
    }

    public void setAnswera(String answera) {
        this.answera = answera;
    }

    public String getQuestionb() {
        return questionb;
    }

    public void setQuestionb(String questionb) {
        this.questionb = questionb;
    }

    public String getAnswerb() {
        return answerb;
    }

    public void setAnswerb(String answerb) {
        this.answerb = answerb;
    }

    public String getQuestionc() {
        return questionc;
    }

    public void setQuestionc(String questionc) {
        this.questionc = questionc;
    }

    public String getAnswerc() {
        return answerc;
    }

    public void setAnswerc(String answerc) {
        this.answerc = answerc;
    }
    public boolean isDelete() {
        return isDelete;
    }

    public void setDelete(boolean delete) {
        isDelete = delete;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean getUserState() {
        return userState;
    }

    public void setUserState(boolean userState) {
        this.userState = userState;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getSexStr() {
        return sexStr;
    }

    public void setSexStr(String sexStr) {
        this.sexStr = sexStr;
    }

    public boolean isUserState() {
        return userState;
    }

    public long getActivateTime() {
        return activateTime;
    }

    public void setActivateTime(long activateTime) {
        this.activateTime = activateTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
